< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/01030400.xhp

(section: anlegenverwalten) (bookmark: bm_id3148797)
libraries;organizing
modules;organizing
copying;modules
adding libraries
deleting;libraries/modules/dialogs
dialogs;organizing
moving;modules
organizing;modules/libraries/dialogs
renaming modules and dialogs

ライブラリ;管理する
モジュール;管理する
コピー;モジュール
ライブラリの追加
削除;ライブラリ、モジュール、ダイアログ
ダイアログ;管理する
移動;モジュール
管理;モジュール、ライブラリ、ダイアログ
モジュール名とダイアログ名の変更

(variable: 01030400)Organizing Libraries and Modules
(variable: 01030400)ライブラリおよびモジュールの管理(hd_id3148797.1)

(/section: anlegenverwalten)

Organizing Libraries
ライブラリの管理(hd_id3150868.4)

Creating a New Library
ライブラリの新規作成(hd_id3125864.5)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3152576.6)

  2. Click the Libraries tab.
    ライブラリタブをクリックします。(par_id3153726.8)

  3. Select to where you want to attach the library in the Location list. If you select Office Macros & Dialogs, the library will belong to the Office application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.
    ライブラリを追加するオブジェクトを、「場所」 リストで選択します。ここで「Office マクロとダイアログ」を選択すると、ライブラリの登録先は Office アプリケーションとなり、すべてのドキュメントで利用できるようになります。いずれかのドキュメントを選択すると、ライブラリの登録先はこの単独のドキュメントとなり、ライブラリを利用できるのもこのドキュメント上だけとなります。(par_id3149664.9)

  4. Click New and insert a name to create a new library.
    新規にライブラリを作成する場合は、新規作成... をクリックして、ライブラリ名を指定します。(par_id3153365.10)

Appending a Library
ライブラリの追加(hd_id3147394.48)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3153157.49)

  2. Click the Libraries tab.
    ライブラリタブをクリックします。(par_id3146972.50)

  3. Select to where you want to append the library in the Location list. If you select Office Macros & Dialogs, the library will belong to the Office application and will be available for all documents. If you select a document the library will be appended to this document and only available from there.
    ライブラリを追加するオブジェクトを、アプリケーションとドキュメント リストで選択します。ここで soffice を選択すると、ライブラリの登録先は Office アプリケーションとなり、すべてのドキュメントで利用できるようになります。いずれかのドキュメントを選択すると、ライブラリの登録先はこの単独のドキュメントとなり、ライブラリを利用できるのもこのドキュメント上だけとなります。(par_id3145640.51)

  4. Click Append and select an external library to append.
    追加... をクリックして、追加する外部ライブラリを選択します。(par_id3154253.52)

  5. Select all libraries to be appended in the Append Libraries dialog. The dialog displays all libraries that are contained in the selected file.
    ダイアログライブラリの追加 で、追加するライブラリを選択します。選択したファイルに含まれるすべてのライブラリを一覧したダイアログが表示されます。(par_id3154705.53)

  6. If you want to insert the library as a reference only check the Insert as reference (read-only) box. Read-only libraries are fully functional but cannot be modified in the Basic IDE.
    ライブラリを参照用として挿入するのであれば、参照として挿入 (読み取り専用) ボックスをオンにします。読み取り専用のライブラリは、完全に機能はしますが、Basic IDE で編集することはできません。(par_id3163807.54)

  7. Check the Replace existing libraries box if you want existing libraries of the same name to be overwritten.
    同名の既存ライブラリを上書きさせる場合は、既存ライブラリの置換 ボックスをオンにします。(par_id3145228.55)

  8. Click OK to append the library.
    OK をクリックすると、ライブラリが追加されます。(par_id3147004.56)

Deleting a Library
ライブラリの削除(hd_id3159100.17)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3150086.18)

  2. Click the Libraries tab.
    ライブラリタブをクリックします。(par_id3146808.57)

  3. Select the library to be deleted from the list.
    リストから削除するライブラリをを選択します。(par_id3158212.58)

  4. Click Delete.
    削除 をクリックします。(par_id3150361.20)

Organizing Modules and Dialogs
モジュールおよびダイアログの管理(hd_id3147070.21)

Creating a New Module or Dialog
モジュールおよびダイアログの新規作成(hd_id3155265.61)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3154537.62)

  2. Click the Modules tab or the Dialogs tab.
    「モジュール」 タブ、または「ダイアログ」タブをクリックします。(par_id3146781.63)

  3. Select the library where the module will be inserted and click New.
    モジュールを挿入するライブラリを選択して、「新しいモジュール」をクリックします。(par_id3159206.64)

  4. Enter a name for the module or the dialog and click OK.
    モジュールないしダイアログの名前を入力して、OK をクリックします。(par_id3152389.65)

Renaming a Module or Dialog
モジュールおよびダイアログの名前の変更(hd_id3152872.25)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3159230.66)

  2. Click the module to be renamed twice, with a pause between the clicks. Enter the new name.
    名前を変更するモジュールを間を置いて 2 度クリックし、新しい名前を入力します。(par_id3150046.67)

    In the Basic IDE, right-click the name of the module or dialog in the tabs at the bottom of the screen, choose Rename and type in the new name.
    Basic IDE の画面の下部にあるタブで、名前を変更するモジュールないしダイアログのタブを右クリックし、「名前の変更」を選択して、新しい名前を入力します。(par_id3153801.27)

  3. Press Enter to confirm your changes.
    変更後の名前を確定するには、Enter キーを押します。(par_id3155526.28)

Deleting a Module or Dialog
モジュールおよびダイアログの削除(hd_id3146963.29)

  1. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3147547.68)

  2. Click the Modules tab or the Dialogs tab.
    「モジュール」 タブ、または「ダイアログ」タブをクリックします。(par_id3150958.69)

  3. Select the module or dialog to be deleted from the list. Double-click an entry to reveal sub-entries, if required.
    「モジュール/ダイアログ」のリストで、削除するモジュールを選択します。サブ項目がある項目は、ダブルクリックすると下層の項目が表示されます。(par_id3149870.30)

  4. Click Delete.
    削除 をクリックします。(par_id3147248.32)

Warning Icon 警告マーク Deleting a module permanently deletes all existing procedures and functions in that module.
モジュールを削除すると、そこに含まれるプロシージャーおよび関数もすべて削除されます。(par_id3151339.31)

Organizing Projects among Documents or Templates
ドキュメントおよびテンプレート内のプロジェクトの管理(hd_id3151392.33)

Moving or copying modules between documents, templates and the application.
ドキュメント、テンプレート、アプリケーション間でのモジュールの移動とコピー(hd_id3156400.36)

  1. Open all documents or templates among which you want to move or copy the modules or dialogs.
    モジュールやダイアログの移動とコピーを行うドキュメントないしテンプレートをすべて開きます。(par_id3146819.37)

  2. Choose Tools - Macros - Organize Macros - Office Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.
    「ツール」 → 「マクロ」 → 「マクロの管理」 → 「Office Basic」 を選択して 「管理」 をクリックするか、Basic IDE の画面で 「モジュールの選択」 アイコンをクリックすると、「マクロの管理」 ダイアログが表示されます。(par_id3149319.38)

  3. To move a module or dialog to another document, click the corresponding object in the list and drag it to the desired position. A horizontal line indicates the target position of the current object while dragging. Hold the (in case of MAC)Command(/in case of MAC)(in other case)Ctrl(/in other case) key while dragging to copy the object instead of moving it.
    ドキュメント間でモジュールやダイアログを移動する場合は、リスト内で該当するオブジェクトをクリックして移動先へドラッグします。オブジェクトのドラッグ中は、移動後の挿入位置が水平線で表示されます。 (in case of MAC)Command(/in case of MAC)(in other case)Ctrl(/in other case) キーを押しながらドラッグすると、移動ではなくコピーされます。(par_id3145637.39)


< Prev / Next >